#include "StringHelper.hpp"

/** 
* Converts int to string.
* @param value The int to convert.
* @return String representation of value.
*/
std::string StringHelper::itos(int value){
    std::ostringstream ss;
    ss << value;
    return ss.str();
}

int StringHelper::stoi(const char* value){
    std::istringstream buf(value);
    int num;
    buf >> num;
    return num;
}